{% extends 'base.html' %}

{% block content %}
    <a class="btn btn-default" href="{% url 'clearzhizhutxt' %}" role="button">清除蜘蛛访问记录</a>
    <a class="btn btn-default" href="{% url 'cleartxt' %}" role="button">清除用户访问记录</a>
    <div class=".container-fluid">
        <div class="row-fluid">
            <div class="span6">
                <h3>
                    蜘蛛访问记录.
                </h3>
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th>
                            状态
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    {% for i in zhizhudata %}
                        <tr>
                            <td>
                                {{ i }}
                            </td>
                        </tr>
                    {% endfor %}
                    </tbody>
                </table>
            </div>
            <div class="span6">
                <h3>
                    用户访问记录.
                </h3>
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th>
                            状态
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    {% for i in yonghudata %}

                        <tr>
                            <td>
                                {{ i }}
                            </td>

                        </tr>

                    {% endfor %}
                    </tbody>

                </table>
            </div>

        </div>
    </div>
{% endblock %}